package com.cuit.zuke.hotel.model.hotel;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cuit.zuke.hotel.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "酒店预约")
@TableName("hotel_book")
public class HotelBook extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty(value = "预约的酒店编号")
    @TableField("zkcode")
    private String zkcode;

    @ApiModelProperty(value = "预约的房间编号")
    @TableField("roomcode")
    private String roomcode;

    @ApiModelProperty(value = "预约时间")
    @TableField("booking_time")
    private Date bookingTime;

    @ApiModelProperty(value = "预约信息")
    @TableField("booking_info")
    private String bookingInfo;

    @ApiModelProperty(value = "预约花销")
    @TableField("money")
    private String money;

    @ApiModelProperty(value = "酒店名称")
    @TableField("zkname")
    private String zkname;

    @ApiModelProperty(value = "房间名称")
    @TableField("roomname")
    private String roomname;
}
